Don't assume process IDs fit in int.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Oct 2012 04:35:39 +0000 (21:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Oct 2012 04:35:39 +0000 (21:35 -0700)
commit67c057349bb1139144352a3198bc592bcf33be19
tree62dbc3a58407fd0a9cb079fedf545e7d2beb0b45
parentdc633b486e179b939ff54e468a04fd7ef0724e9b
Don't assume process IDs fit in int.

* emacs.c (shut_down_emacs) [!DOS_NT]:
* sysdep.c (sys_suspend) [SIGTSTP && !MSDOS]:
* term.c (dissociate_if_controlling_tty) [!DOS_NT]:
Use pid_t, not int, to store process IDs, as 'int'
is not wide enough on a few platforms (e.g., AIX and IRIX).
src/ChangeLog
src/emacs.c
src/sysdep.c
src/term.c